namespace ColladaDotNet.OpenTKMapping
{
	internal class EffectCommonTechnique : DocumentLibraryElement
	{
		protected ColorSource ambient;
		protected ColorSource diffuse;

		protected ColorSource specular;

		virtual public void Bind(EffectCommonProfile args)
		{
			if (diffuse != null)
			{
				diffuse.Bind(args);
			}
		}

		public void Unbind(EffectCommonProfile profile)
		{
			if (diffuse != null)
			{
				diffuse.Unbind(profile);
			}
		}
	}
}